package com.mybatisflex.test;

import com.mybatisflex.annotation.UpdateListener;

public class MyUpdateListener implements UpdateListener {

    @Override
    public void onUpdate(Object entity) {
        if(entity instanceof Account8){
            Account8 account8 = (Account8) entity;
            account8.setUserName(null);
        }
    }

}
